package learn.design.patterns.F_Proxy.Cglib;

public class Test {
    public static void main(String[] args) {
        RealServiceWithoutInterface real = new RealServiceWithoutInterface();
        RealServiceWithoutInterface proxy = (RealServiceWithoutInterface) new CglibProxy().getInstance(real);
        proxy.doSomething();
    }
}
